[
[ global defines file for AGIV2
[
#define NORMAL_STEP_SIZE        1
#define MAX_SCORE_VALUE         3 [ assign this constant to v7 (MaxScore)
#define FASTEST_SPEED           0
#define FAST_SPEED              1
#define NORMAL_SPEED            2
#define SLOW_SPEED              4
#define cursor                "_"
#define cMenu                  c0 [ key: ESC; used to display the menu
#define cAbout                 c1 [ menu: AGI;     key: none
#define cVersion               c2 [ menu: AGI;     key: Alt+V
#define cHelp                  c3 [ menu: AGI;     key: F1
#define cSave                  c4 [ menu: File;    key: F5
#define cRestore               c5 [ menu: File;    key: F7
#define cRestart               c6 [ menu: File;    key: F9
#define cQuit                  c7 [ menu: File;    key: Alt+Q
#define cShowObj               c8 [ menu: Action;  key: F4
#define cStatus                c9 [ menu: Action;  key: TAB/Ctrl+I
#define cToggleSound          c10 [ menu: Special; key: F2
#define cToggleMonitor        c11 [ menu: Special; key: Ctrl+R
#define cClock                c12 [ menu: Special; key: F6
#define cInitJoy              c13 [ menu: Special; key: Ctrl+J
#define cPause                c14 [ menu: Special; key: none (ESC to show menu also pauses game)
#define cNormal               c15 [ menu: Speed;   key: none
#define cSlow                 c16 [ menu: Speed;   key: none
#define cFast                 c17 [ menu: Speed;   key: none
#define cFastest              c18 [ menu: Speed;   key: none
#define cDebugHelp            c19 [ menu: Debug;   key: none
#define cShowEgo              c20 [ menu: Debug;   key: Alt+E
#define cShowPriority         c21 [ menu: Debug;   key: Alt+P
#define cShowMem              c22 [ menu: Debug;   key: Alt+M
#define cObjInfo              c23 [ menu: Debug;   key: Alt+I
#define cXY                   c24 [ menu: Debug;   key: Alt+X
#define cGimme                c25 [ menu: Debug;   key: none
#define cCancelLine           c26 [ menu: none;    key: Ctrl+C
#define cEchoLine             c27 [ menu: none;    key: F3
#define cDebug                c28 [ menu: none;    key: Alt+D
#define cCrescendo            c29 [ menu: none;    key: +
#define cDecrescendo          c30 [ menu: none;    key: -
#define keyJoyBtn1            c31 [ joystick button #1, single click
#define cDummy                c32 [ menu separator - should always be disabled
#define cycleEgoAtRest        f30 [ when set to TRUE, ego will cycle even when position does not change
#define debugging             f32 [ set this flag to TRUE to enable debug menu and debug mode
#define disableGameFunctions  f33 [ when set to TRUE
#define clockOn               f34 [ set this flag to display a real-time clock of elapsed game time on top of the status bar
#define showCoords            f35 [ a debug flag, that when set, will display current room and ego's x/y location and priority value
#define soundDone             f36 [ use this when playing sound effects if no specific action is needed after the sound ends
#define musicDone             f37 [ use this when playing music if no specific action is needed after the music ends
#define egoExplored           f38 [ a typical 'score' flag; after player scores point for exploring, set this flag so it only happens once
#define unknownWord            s1 [ when an unknown word is entered by player, store it in this string
#define work                  v30 [ this is a globally available flag that can be used for counting or any other temporary purpose
#define oldSeconds            v31 [ cached value of game seconds (v11)
#define oldMinutes            v32 [ cached value of game minutes (v12)
#define oldHours              v33 [ cached value of game hours (v13)
#define oldDays               v34 [ cached value of game days (v14)
#define deathType             v35 [ assign different values depending on how ego dies; then death handler can use it to provide custom messages
#define deathTimer            v36 [ used by death handler to time display of messages and restart
#define clearStatusSeconds    v37 [ the seconds value currently displayed on status bar when showCoords is TRUE; when this value is different from game seconds, the clock is updated
#define egoX                  v38 [ current ego X position
#define egoY                  v39 [ current ego Y position
#define oldEgoX               v40 [ previous ego X position
#define oldEgoY               v41 [ previous ego Y position
#define oldEgoDir             v42 [ previous ego direction
#define egoCycleTime          v59 [ current ego cycle time
#define egoStepTime           v60 [ current ego step time
#define egoStepSize           v61 [ current ego step size
#define badWordCount          v62 [ number of times player has entered a word that is on the 'bad word' list
